package org.dromara.netbar.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.netbar.domain.NetbarGiftPack;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 礼包管理视图对象 netbar_gift_pack
 *
 * @author Lion Li
 * @date 2025-07-10
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = NetbarGiftPack.class)
public class NetbarGiftPackVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 礼包ID
     */
    @ExcelProperty(value = "礼包ID")
    private Long packId;

    /**
     * 礼包名称
     */
    @ExcelProperty(value = "礼包名称")
    private String packName;

    /**
     * 礼包购买金额
     */
    @ExcelProperty(value = "礼包购买金额")
    private Long purchaseAmount;

    /**
     * 有效期开始
     */
    @ExcelProperty(value = "有效期开始")
    private Date validStart;

    /**
     * 有效期结束
     */
    @ExcelProperty(value = "有效期结束")
    private Date validEnd;

    /**
     * 状态：1=上架，2=下架
     */
    @ExcelProperty(value = "状态：1=上架，2=下架，3= 过期")
    private Long status;

    /*
     * 是否过期
     */
    private Boolean isExpired = false;
    /**
     * 礼包项
     */
    private List<NetbarGiftPackItemVo> giftPackItemList;
}
